import Vue from 'vue'

export const bus = new Vue({
  data(){
    return {
      data:''
    }
  },
  created(){
    this.$on('show',(value)=>{
      console.log(value);
      this.data=value.data
    })
  }
})
